package com.abc.cloud.dao;

import com.abc.cloud.entity.LoginLogEntity;
import com.abc.cloud.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

/**
 * 登录日志
 * 
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-10-27 13:09:54
 */
@Mapper
public interface LoginLogDao extends BaseMapper<LoginLogEntity> {

    Integer getCount(LocalDate frontendDate);

    List<LoginLogEntity> getUserList(Integer currPage, Integer pageSize, LocalDate frontendDate);
}
